package com.qf.job;

import org.quartz.Job;
import org.quartz.JobDetail;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import java.util.Date;

/**
 * @author wanghaotian
 * time:2022/12/10,0010 9:43
 * description:
 */

public class MyJob implements Job {
    public void execute(JobExecutionContext context) throws JobExecutionException {
        JobDetail jobDetail = context.getJobDetail();
        System.out.println("job 执行了"+new Date());
    }
}
